package com.wentao.thisService.service;

import com.wentao.thisCommon.model.RequestBase;
import com.wentao.thisCommon.model.ResultBase;
import com.wentao.thisFacade.domain.reqeust.VersionCheckRequest;
import com.wentao.thisFacade.domain.result.VersionCheckResult;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Auther: ZhaiYanTao
 * @Date: 2020/3/27 10:21
 * @Description: APP版本service
 */
public interface VersionService {

    /**
     * 版本检查
     *
     * @param entity 用户版本信息
     * @return 版本检查结果
     * @throws Exception 异常信息
     */
    VersionCheckResult checkVersion(@RequestBody VersionCheckRequest versionCheckRequest) throws Exception;
}
